package com.bplow.deep.base.aspectj;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import com.bplow.deep.base.validator.annotation.CardNumberConstraint;

public class BeanTest {

	@NotEmpty(message = "{1000}")
	private String orderId;

	@NotNull(message = "{EB001}")
	private String orderName;

	@CardNumberConstraint(message = "{EB001}")
	private String cardNumber;

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

}
